using System;
using System.Linq;
using System.Collections.Generic;
	
namespace EFRepositoryNoDI.Data
{   
	public partial class PersonRepository : EFRepository<Person>
	{
		// Add your own data access methods.
		// This file should not get overridden

		public List<Person> GetPersonByLastName(string lastName)
		{
			return Where(p => p.LastName == lastName).ToList();
		}
	}
}